package com.zhitong.money.services.api;


import com.github.pagehelper.PageInfo;
import com.zhitong.money.entity.Salary;

import javax.servlet.http.HttpServletRequest;
import javax.servlet.http.HttpServletResponse;
import java.util.List;
import java.util.Map;

public interface ISalaryService {

    public List<Salary> findAllSalary() throws Exception;

    public Salary findSalaryById(String id) throws Exception;

    public PageInfo findSalaryByPage(Map<String,Object> map) throws Exception;

    public List<Salary> findSalaryByMap(Map<String,Object> map) throws Exception;

    public void addSalary(Salary salary) throws Exception;

    public void updateSalary(Salary salary) throws Exception;

    public void delSalary(String id) throws Exception;

    public void delSalaryByIds(List<String> ids) throws Exception;

    public void exportSalarys(Map<String,Object> map, HttpServletResponse response) throws Exception;
}
